GXGetShapePen
You can use theGXGetShapePen
function to determine the pen width of the style object associated with a particular shape.
Fixed GXGetShapePen(gxShape source);
source
- A reference to the shape whose pen width you want to determine.
- function result
- The pen width of the source shape's style object.
DESCRIPTION
A pen width of 0.0 indicates a hairline width; QuickDraw GX always draws hairlines one pixel wide.ERRORS, WARNINGS, AND NOTICES
Errors out_of_memory shape_is_nil SEE ALSO
For a discussion of the drawing pen, see "The Geometric Pen" on page 3-15.For an example of changing a shape's pen width, see "Manipulating Pen Width and Placement" on page 3-51.
To determine the pen width of a style object, use the
GXGetStylePen
function, which is described on page 3-119. To change the pen width of a style object, use theGXSetStylePen
function, which is described on page 3-120.To change the pen width of a style object associated with a particular shape, use the
GXSetShapePen
function, which is described in the next section.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help